<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2D转换综合写法顺序</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            background-color: pink;
            transition:all .4s;
        }

        div:hover{
            /* 我们同时有位移和其他属性,我们需要把位移放到最前面 */
            transform: translate(150px,50px) rotate(80deg) scale(.5);
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>